/**
 * APITable <https://github.com/apitable/apitable>
 * Copyright (C) 2022 APITable Ltd. <https://apitable.com>
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

/* eslint-disable max-len */
import React from 'react';
import { makeIcon, IIconProps } from '../utils/icon';

export const WechatpayColorFilled: React.FC<IIconProps> = makeIcon({
  Path: ({ colors }) => <>
    <path d="M25.9993 38.7C25.7445 38.8274 25.4898 38.8912 25.1713 38.8912C24.4707 38.8912 23.8974 38.509 23.579 37.9357L23.4516 37.681L18.4199 26.7258C18.3562 26.5986 18.3562 26.4712 18.3562 26.3438C18.3562 25.8342 18.7384 25.4521 19.2479 25.4521C19.439 25.4521 19.6301 25.5158 19.8211 25.6432L25.7445 29.8469C26.1904 30.1016 26.6999 30.2928 27.2731 30.2928C27.5917 30.2928 27.9101 30.229 28.2285 30.1016L55.9983 17.7454C50.9666 11.822 42.7503 8.00049 33.5149 8.00049C18.2926 8.00049 6 18.2549 6 30.9296C6 37.8082 9.69413 44.0501 15.4901 48.2538C15.9359 48.5722 16.2544 49.1456 16.2544 49.7189C16.2544 49.9098 16.1907 50.101 16.127 50.292C15.6812 52.0117 14.9169 54.8141 14.9169 54.9416C14.8532 55.1325 14.7895 55.3874 14.7895 55.6421C14.7895 56.1517 15.1716 56.5338 15.6812 56.5338C15.8722 56.5338 16.0633 56.4701 16.1907 56.3426L22.1778 52.8397C22.6236 52.585 23.1331 52.3938 23.6427 52.3938C23.8974 52.3938 24.2159 52.4576 24.4707 52.5213C27.2731 53.3493 30.3303 53.7952 33.4511 53.7952C48.6101 53.7952 60.9661 43.5408 60.9661 30.8658C60.9661 27.0445 59.8197 23.414 57.8453 20.2293L26.1904 38.5728L25.9993 38.7Z" fill={ colors[0] }/>
    <path d="M25.1715 38.8914C25.49 38.8914 25.7447 38.8277 25.9995 38.7002L26.1906 38.573L57.8455 20.2296L55.9986 17.7456L28.2287 30.1018C27.9103 30.2293 27.5919 30.293 27.2733 30.293C26.7001 30.293 26.1906 30.1018 25.7447 29.8471L19.8214 25.6434C19.6303 25.516 19.4392 25.4523 19.2481 25.4523C18.7386 25.4523 18.3564 25.8345 18.3564 26.344C18.3564 26.4714 18.3564 26.5988 18.4201 26.7261L23.4518 37.6813L23.5792 37.9359C23.8976 38.5093 24.4709 38.8914 25.1715 38.8914Z" fill={ colors[1] }/>

  </>,
  name: 'wechatpay_color_filled',
  defaultColors: ['#21AC38', 'white'],
  colorful: true,
  allPathData: ['M25.9993 38.7C25.7445 38.8274 25.4898 38.8912 25.1713 38.8912C24.4707 38.8912 23.8974 38.509 23.579 37.9357L23.4516 37.681L18.4199 26.7258C18.3562 26.5986 18.3562 26.4712 18.3562 26.3438C18.3562 25.8342 18.7384 25.4521 19.2479 25.4521C19.439 25.4521 19.6301 25.5158 19.8211 25.6432L25.7445 29.8469C26.1904 30.1016 26.6999 30.2928 27.2731 30.2928C27.5917 30.2928 27.9101 30.229 28.2285 30.1016L55.9983 17.7454C50.9666 11.822 42.7503 8.00049 33.5149 8.00049C18.2926 8.00049 6 18.2549 6 30.9296C6 37.8082 9.69413 44.0501 15.4901 48.2538C15.9359 48.5722 16.2544 49.1456 16.2544 49.7189C16.2544 49.9098 16.1907 50.101 16.127 50.292C15.6812 52.0117 14.9169 54.8141 14.9169 54.9416C14.8532 55.1325 14.7895 55.3874 14.7895 55.6421C14.7895 56.1517 15.1716 56.5338 15.6812 56.5338C15.8722 56.5338 16.0633 56.4701 16.1907 56.3426L22.1778 52.8397C22.6236 52.585 23.1331 52.3938 23.6427 52.3938C23.8974 52.3938 24.2159 52.4576 24.4707 52.5213C27.2731 53.3493 30.3303 53.7952 33.4511 53.7952C48.6101 53.7952 60.9661 43.5408 60.9661 30.8658C60.9661 27.0445 59.8197 23.414 57.8453 20.2293L26.1904 38.5728L25.9993 38.7Z', 'M25.1715 38.8914C25.49 38.8914 25.7447 38.8277 25.9995 38.7002L26.1906 38.573L57.8455 20.2296L55.9986 17.7456L28.2287 30.1018C27.9103 30.2293 27.5919 30.293 27.2733 30.293C26.7001 30.293 26.1906 30.1018 25.7447 29.8471L19.8214 25.6434C19.6303 25.516 19.4392 25.4523 19.2481 25.4523C18.7386 25.4523 18.3564 25.8345 18.3564 26.344C18.3564 26.4714 18.3564 26.5988 18.4201 26.7261L23.4518 37.6813L23.5792 37.9359C23.8976 38.5093 24.4709 38.8914 25.1715 38.8914Z'],
  width: '64',
  height: '64',
  viewBox: '0 0 64 64',
});
